package org.destiny.cotroller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class LogBackController {

    Logger log = LoggerFactory.getLogger(LogBackController.class);

    /**
     * 初始化上传文件界面，跳转到index.jsp
     * 
     * @return
     */
    @RequestMapping(value = "/index1", method = { RequestMethod.GET })
    public String index1() {
        log.info("{},this is index", "welcome");
        return "index";
    }

}
